<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <title></title>
    
     <%@ include file="/WEB-INF/component/commonCSS.jsp" %>
    <!--[if lt IE 9]>
        <script src="lib/js/html5shiv.min.js"></script>
        <script src="lib/js/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
    	div.col-sm-2.text-left, div.col-sm-10.text-left{
    	    color:#949494;
    	}
    </style>
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    <section class="content-header">
        <h1>专家抽取规则详情</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">专家抽取管理</a></li>
            <li class="active"><a href="#">抽取规则设置</a></li>
        </ol>
    </section>
    <section class="content">
        <div class=" box box-success">
            <!-- form start -->
            <form role="form" id ="form1" class="form-horizontal" action="saveOrEditDrugQuality" method="post">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 text-right">所属项目：</label>
                        <div class="col-sm-10 text-left">
                           ${projName}
                        </div>
                    </div>
                    
                    <div class="line"></div>
                   <div class="form-group">
                        <label class="col-sm-2 text-right">专家类别：</label>
                        <div class="col-sm-10 text-left text-left">
                            ${expertTypeName}
                        </div>
                    </div>
                    
                    <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">抽取数量：</label>
                        <div class="col-sm-10 text-left">
                            ${rule.count}
                        </div>
                    </div>
                    <div class="line"></div>
                   <div class="form-group">
                        <label class="col-sm-2 text-right">状态：</label>
                        <div class="col-sm-10 text-left" id ="status">
                            ${rule.status }
                        </div>
                   </div>
                   <div class="line"></div>
                   <div class="form-group">
                        <label class="col-sm-2 text-right">抽取状态：</label>
                        <div class="col-sm-10 text-left" id ="execStatus">
                       		 ${rule.execStatus }
                        </div>
                   </div>
                   <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">更新时间：</label>
                        <div class="col-sm-10 text-left">
                            ${updDateTime}
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="form-group">
                        <label class="col-sm-2 text-right">更新人：</label>
                        <div class="col-sm-10 text-left">
                            ${rule.updUser }
                        </div>
                    </div>
                    <div class="line"></div>
                     <div class="form-group">
                        <label class="col-sm-2 text-right">备注：</label>
                        <div class="col-sm-10 text-left">
                            ${rule.remarks }
                        </div>
                    </div>
                    
                    
                </div>
                 <div class="box-footer text-center">
                    <a href="toExpertExtractRuleList.html?projId=${projId }" class="btn btn-danger btn-sm">返&nbsp;回</a>
                </div>
            </form>
        </div>
    </section>
    <script src="${ctx}/lib/js/jquery.min.js" type="text/javascript"></script>
    <script src="${ctx}/lib/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="${ctx}/lib/plugins/slimScroll/jquery.slimscroll.min.js"></script>
    <script src="${ctx}/lib/js/app.js" type="text/javascript"></script>
    <script src="${ctx}/lib/plugins/datepicker/bootstrap-datepicker.js"></script>
    <script src="${ctx}/lib/js/HNApp.js"></script>
    <script src="${ctx}/lib/plugins/datepicker/bootstrap-datepicker.js"></script>
    <script src="${ctx}/lib/plugins/input-mask/jquery.inputmask.js"></script>
    <script src="${ctx}/lib/plugins/input-mask/jquery.inputmask.extensions.js"></script>
    <script type="text/javascript">

     function back(){
     	window.location.href="toExpertExtractRuleList.html";
     }
     $(function () {
    	 var status = ${rule.status};
    	 if(status == '1'){
    		 $("#status").html("启用");
    	 }
    	 if(status == '0'){
    		 $("#status").html("停用");
    	 }
    	 
    	 var execStatus = ${rule.execStatus};
    	 if(execStatus == '1'){
    		 $("#execStatus").html("已抽取");
    	 }
    	 if(status == '0'){
    		 $("#execStatus").html("未抽取");
    	 }
    	
     })
   
     
   
     
    </script>
</body>
</html>
                    